package StudyCode.summary.mycollection;

import java.util.TreeMap;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class RemoveAllValuesFromTreeMap {
	public static void main(String[] args) {
		TreeMap treeMap = new TreeMap();
		treeMap.put("1", "One");
		treeMap.put("2", "Two");
		treeMap.put("3", "Three");
		System.out.println("TreeMap 清空前 : " + treeMap);
		treeMap.clear();
		System.out.println("TreeMap 清空后 : " + treeMap);
	}
}
